home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE08
/
CLINIC
/
LISTING3.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1996-03-16
|
278 b
|
9 lines
{Listing 3}
if FormStyle = fsMDIChild then begin
{ Fake a size message to get MDI to behave }
if FWindowState = wsMaximized then begin
SendMessage(Application.MainForm.ClientHandle,
WM_MDIRESTORE, Handle, 0);
ShowWindow(Handle, SW_SHOWMAXIMIZED);
end